set(LLVM_LINK_COMPONENTS
  Option
  Support
  )

add_clang_executable(pdxcxx
  analysis.cpp
  pdxcxx.cpp
  utils.cpp
  )

target_link_libraries(pdxcxx
  clangAST
  clangBasic
  clangDriver
  clangFrontend
  clangRewriteFrontend
  clangStaticAnalyzerFrontend
  clangTooling
  )

install(TARGETS pdxcxx
  RUNTIME DESTINATION bin)
